package com.atguigu.zy.interview.javase;

import java.util.Random;

/**
 * @Author : Jungle
 * @Description :
 *
 *
 * -Xms10m -Xmx10m  -XX:+PrintGCDetails -XX:+UseG1GC
 */
public class G1Demo {
    public static void main(String[] args) {
                String str = "atguigu";
        while (true) {
            str +=str+ new Random().nextInt(1111111111) + new Random().nextInt(22222222);
            str.intern();
        }

    }
}
